package test;

public class Class1 {
    private int atributo1;
    private String atributo2;
    
    public Class1() {
        super();
    }

    public void setAtributo1(int atributo1) {
        this.atributo1 = atributo1;
    }

    public int getAtributo1() {
        return atributo1;
    }

    public void setAtributo2(String atributo2) {
        this.atributo2 = atributo2;
    }

    public String getAtributo2() {
        return atributo2;
    }
    /*public String toString(){
        return "Atributo1: " + atributo1 + " Atributo"
    }*/
    
    public int incrementaAtributo1(int incremento){
    atributo1=atributo1*incremento;
    return atributo1;
    }
    
    public void decremetaAtributo1(){
        atributo1--;
    }
}
